Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Possible typo affecting autobilling

#17

modules/invoice/invoice.inc.php @ line ~1460 ...

while( !$ii->EOF ) { $srvc->invoiceItemToService(...); ... # child items ... $q = SELECT ..." $iii = $db->Execute( $q );

while( !$iii->EOF ) {

  $srvc -> invoiceItemToService( $ii->fields['id'] ); #HERE!

} }

Logically enough, shouldn't this be $iii->fields[ 'id' ] instead of $ii ?

I'm tracing the code to upgrade and adding lots of logging ... found that ... this might be what's needed ... just seemed odd.

sorry about the bad code formatting ... is there syntax for that?

Reported by leprechaun · March 13th, 2009 @ 01:44 PM

State: new
Milestone: none
Assigned to: Scott Scott

Activity

  1. Tony Landis
    Tony Landis

    Any behavior problems noted, or is it just the odd-looking code?

    March 25th, 2009 @ 06:41 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.